home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow / BaseClasses / activex.rcv next >
Encoding:
Text File  |  2001-10-08  |  3.4 KB  |  141 lines

  1. //------------------------------------------------------------------------------
  2. // File: Activex.rcv
  3. //
  4. // Desc: DirectShow base classes - this file defines the version resource 
  5. //       used for the application.
  6. //
  7. //       NOTE: All strings MUST have an explicit \0 for termination!
  8. //
  9. //       For a complete description of the Version Resource, search the
  10. //       Microsoft Developer's Network (MSDN) CD-ROM for 'version resource'..
  11. //
  12. // Copyright (c) 1992 - 2001, Microsoft Corporation.  All rights reserved.
  13. //------------------------------------------------------------------------------
  14.  
  15.  
  16. #ifndef _ACTIVEX_RCV_
  17. #define _ACTIVEX_RCV_
  18.  
  19. #ifndef WIN32
  20. #define WIN32
  21. #endif
  22. #include <winver.h>
  23.  
  24. #ifndef _ACTIVEX_VER_
  25. #include <activex.ver>
  26. #endif
  27.  
  28. //
  29. // Version flags.
  30. //
  31. // OFFICIAL and FINAL should be defined when appropriate.
  32. //
  33.  
  34. #ifndef OFFICIAL
  35. #define VER_PRIVATEBUILD      VS_FF_PRIVATEBUILD
  36. #else
  37. #define VER_PRIVATEBUILD      0
  38. #endif
  39.  
  40. #ifndef FINAL
  41. #define VER_PRERELEASE        VS_FF_PRERELEASE
  42. #else
  43. #define VER_PRERELEASE        0
  44. #endif
  45.  
  46. #ifdef DEBUG
  47. #define VER_DEBUG             VS_FF_DEBUG
  48. #else
  49. #define VER_DEBUG             0
  50. #endif
  51.  
  52. //
  53. // Version definitions
  54. //
  55.  
  56. #define VERSION_RES_FLAGSMASK   0x0030003FL
  57. #define VERSION_RES_FLAGS       (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  58.  
  59. #ifndef VERSION_RES_OS
  60. #define VERSION_RES_OS          VOS__WINDOWS32
  61. #endif
  62.  
  63. #ifndef VERSION_RES_TYPE
  64. #define VERSION_RES_TYPE        VFT_DLL
  65. #endif
  66.  
  67. #ifndef VERSION_RES_SUBTYPE
  68. #define VERSION_RES_SUBTYPE     VFT2_UNKNOWN
  69. #endif
  70.  
  71. #define VERSION_RES_LANGUAGE    0x409
  72.  
  73. #ifdef UNICODE
  74. #define VERSION_RES_CHARSET     1200
  75. #else
  76. #define VERSION_RES_CHARSET     1252
  77. #endif
  78.  
  79. #ifndef VERSION_RES_ACTIVEX
  80. #define VERSION_RES_ACTIVEX     "Filter dll\0"
  81. #endif
  82.  
  83. #ifdef  AMOVIE_SELF_REGISTER
  84. #ifndef OLE_SELF_REGISTER
  85. #define OLE_SELF_REGISTER
  86. #endif
  87. #endif
  88.  
  89. #ifdef  OLE_SELF_REGISTER
  90. #ifdef  AMOVIE_SELF_REGISTER
  91. #define VERSION_RES_SELFREGISTER "AM20\0"
  92. #else
  93. #define VERSION_RES_SELFREGISTER "\0"
  94. #endif
  95. #endif
  96.  
  97. //
  98. // Version resource
  99. //
  100.  
  101. VS_VERSION_INFO VERSIONINFO
  102. FILEVERSION     VERSION_RES_MAJOR_VER, VERSION_RES_MINOR_VER, 0, VERSION_RES_BUILD
  103. PRODUCTVERSION  VERSION_RES_MAJOR_VER, VERSION_RES_MINOR_VER, 0, VERSION_RES_BUILD
  104. FILEFLAGSMASK   VERSION_RES_FLAGSMASK
  105. FILEFLAGS       VERSION_RES_FLAGS
  106. FILEOS          VERSION_RES_OS
  107. FILETYPE        VERSION_RES_TYPE
  108. FILESUBTYPE     VERSION_RES_SUBTYPE
  109. BEGIN
  110.   BLOCK "StringFileInfo"
  111.   BEGIN
  112.     BLOCK "040904E4"
  113.     BEGIN
  114.       VALUE "CompanyName",        VERSION_RES_COMPANY_NAME
  115.       VALUE "Comment",            VERSION_RES_COMMENT
  116.       VALUE "FileDescription",    VERSION_RES_BIN_DESCRIPTION
  117.       VALUE "FileVersion",        VERSION_RES_STRING
  118.       VALUE "InternalName",       VERSION_RES_BIN_NAME
  119.       VALUE "LegalCopyright",     VERSION_RES_COPYRIGHT
  120.       VALUE "OriginalFilename",   VERSION_RES_BIN_NAME
  121.       VALUE "ProductName",        VERSION_RES_PRODUCT_NAME
  122. #ifdef DEBUG
  123.       VALUE "ProductVersion",     VERSION_RES_STRING_D
  124. #else
  125.       VALUE "ProductVersion",     VERSION_RES_STRING
  126. #endif
  127.       VALUE "ActiveMovie",        VERSION_RES_ACTIVEX
  128. #ifdef OLE_SELF_REGISTER
  129.       VALUE "OLESelfRegister",    VERSION_RES_SELFREGISTER
  130. #endif
  131.     END
  132.   END
  133.   BLOCK "VarFileInfo"
  134.   BEGIN
  135.     VALUE "Translation", VERSION_RES_LANGUAGE, VERSION_RES_CHARSET
  136.   END
  137. END
  138.  
  139. #endif
  140. // _ACTIVEX_RCV_
  141.